package com.ruoyi.mobile.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用药打卡记录对象 take_medicine_record
 * 
 * @author ruoyi
 * @date 2022-09-20
 */
public class TakeMedicineRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Integer id;

    /** user.id */
    @Excel(name = "user.id")
    private Integer userId;

    /** 打卡标题 */
    @Excel(name = "打卡标题")
    private String title;

    /** 打卡描述 */
    @Excel(name = "打卡描述")
    private String description;

    /** 提醒打卡时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提醒打卡时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date remindTime;

    /** 打卡状态:0|未打卡,1|已打卡 */
    @Excel(name = "打卡状态:0|未打卡,1|已打卡")
    private Integer status;

    /** 删除标志:0|未删除,1|已删除 */
    private Integer delFlag;

    private String nickname;

    private String phone;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setRemindTime(Date remindTime) 
    {
        this.remindTime = remindTime;
    }

    public Date getRemindTime() 
    {
        return remindTime;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("title", getTitle())
            .append("description", getDescription())
            .append("remindTime", getRemindTime())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("nickname", getNickname())
            .append("phone", getPhone())
            .append("createTime", getCreateTime())
            .toString();
    }
}
